package com.boot.service;

import com.boot.DTO.EmployeeAddDAO;
import com.boot.DTO.EmployeeLoginDTO;
import com.boot.Vo.ChangePasswordVo;
import com.boot.Vo.EmployeePageVo;
import com.boot.pojo.Employee;
import com.baomidou.mybatisplus.extension.service.IService;
import com.boot.result.Result;

/**
* @author liyan
* @description 针对表【employee(员工信息)】的数据库操作Service
* @createDate 2025-04-17 15:50:40
*/
public interface EmployeeService extends IService<Employee> {

    Result login(EmployeeLoginDTO employeeLoginDTO);

    Result save(Employee employee, String token);

    Result getEmployeeList(EmployeePageVo employeePageVo);

    Result getEmployeeById(Long id);
    Result updateStatus(Integer status, Long userId);

    Result updateEmployee(EmployeeAddDAO employeeAddDAO, String token);

    Result editPassword(ChangePasswordVo changePasswordVo);
}
